package cn.javadog.ssp.spring.ioc.simple;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 余勇
 * @date 2019年11月27日 13:54:00
 */
@Configuration
public class SimpleBeanConfig {

	@Bean(initMethod = "initMethod", destroyMethod = "destroyMethod")
	public FatBean fatBean() {
		return new FatBean();
	}

	@Bean
	public BeanPostProcessorBean beanPostProcessorBean(){
		return new BeanPostProcessorBean();
	}
}